function check()
{
    var userAgentInfo = navigator.userAgent;
    var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
    var flag = true;
    for (var v = 0; v < Agents.length; v++)
    {
        if (userAgentInfo.indexOf(Agents[v]) > 0)
        {
            flag = false;
            break;
        }
    }
    return flag;
}

function advices()
{
    var $advice = prompt('您的意见:', '');
    if ($advice != null && $advice != '')
    {
        var $qq = prompt('您的QQ:', '');
        alert('感谢您的支持！');
        $advice = escape($qq + ' 意见：' + $advice + '————');
        var $url = 'advice.php?qq=' + $advice;
        window.location.href = $url;
    }
}
window.onload = function ()
{
    $("#submitbutton").click(function ()
    {
        $("#psdhiden").val(hex_md5($("#psd").val()));
    }
    );
}
